@import '../toolbox/buttons/css/base.css';
@import '../app/variablesV2.css';

.wrapper {
  align-items: center;
  background: var(--color-background-header);
  border-bottom: 1px solid var(--color-light-gray);
  box-shadow: var(--box-shadow-header);
  box-sizing: border-box;
  display: flex;
  height: var(--header-height-m);
  justify-content: space-between;
  padding: var(--header-padding);
  position: absolute;
  top: 0;
  width: 100%;
}

.logo {
  height: var(--header-logo-size);
  width: var(--header-logo-size);

  & > img {
    display: block;
    height: 100%;
    width: 100%;
  }
}

.buttonsHolder {
  display: flex;
  justify-content: space-between;

  & > * {
    margin-left: 24px;
  }
}

.settingButton > button {
  font-size: var(--button-font-size-s);
  height: var(--header-elements-height);
  letter-spacing: 0.5px;
  line-height: var(--header-elements-height);
  min-height: var(--header-elements-height);
  width: 144px;
}

.dropdownHandler {
  align-items: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-standard);
  box-shadow: var(--box-shadow-standard);
  box-sizing: border-box;
  color: var(--color-content-light);
  cursor: pointer;
  display: flex;
  font-family: var(--heading-font);
  font-size: var(--button-font-size-s);
  font-weight: var(--font-weight-bold);
  height: var(--header-elements-height);
  justify-content: space-between;
  letter-spacing: 0.5px;
  line-height: var(--header-elements-height);
  min-height: var(--header-elements-height);
  min-width: 144px;
  padding: 0 24px;
  position: relative;
  width: auto;

  &::after {
    border: 5px solid transparent;
    border-bottom: 0;
    border-top-color: var(--color-content-light);
    content: '';
  }
}

@media (--small-viewport) {
  .wrapper {
    height: var(--header-height-s);
  }
}
